package com.challenge.Shelf;

import com.challenge.Order.Order;
import lombok.Data;

import java.util.ArrayList;

/**
 *  the baseShelf
 */
@Data
public abstract class BaseShelf implements Shelf {
    private ArrayList<Order> store = new ArrayList<Order>();
    private int size = 0;
    private String type;

    @Override
    /**
     *  check shelf is it full
     */
    public boolean checkFull() {
        if(store.size() == size){
            return true;
        }
        return false;
    }
}
